[DEPRECATED: Use PUT /manage/v2/servers/{id|name}/properties instead.]
Remove the namespace binding for {prefix}
.
Upon success, MarkLogic Server responds with status 204 (Content
Deleted). MarkLogic Server responds with status 204 even if no
binding exists for {prefix}
.
rest-admin
role, or the
following privileges:
http://marklogic.com/xdmp/privileges/rest-admin
http://marklogic.com/xdmp/privileges/rest-writer
http://marklogic.com/xdmp/privileges/rest-reader
$ curl --anyauth --user user:password -X DELETE -i \ http://localhost:8004/v1/config/namespaces/bill ==> MarkLogic Server removes the namespace binding between the prefix "bill" and the associated URI and responds with status 204. MarkLogic server responds with headers of the form: Server: MarkLogic Content-Type: text/xml; charset=UTF-8 Content-Length: 211 Connection: close HTTP/1.1 204 Deleted Server: MarkLogic Content-Length: 0 Connection: close